package com.beaut.project.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

@Repository
public interface CRMMapper {
	public List<Map<String,Object>> listPageSupplier(Map<String,Object> map);
	public List<Map<String,Object>> listPageAccountingOut(Map<String,Object> map);
	public List<Map<String,Object>> listPageUnPurchaseSupplier(Map<String,Object> map);
	public List<Map<String,Object>> listPageHasPurchasedSupplier(Map<String,Object> map);
	public Object getSumUnPurchaseSupplier(Map<String,Object> map);
	public Object getSumHasPurchasedSupplier(Map<String,Object> map);
	public Map<String,Object> getSupplierById(Map<String,Object> map);
	public Map<String,Object> getAccountingById(Map<String,Object> map);
	public void addSupplier(Map<String,Object> map);
	public void updateSupplier(Map<String,Object> map);
	public void deleteSupplier(List<String> list);
	public void addAccounting(Map<String,Object> map);
	public void updateAccounting(Map<String,Object> map);
	public void deleteAccounting(List<String> list);
	public List<Map<String,Object>> listPageCustomer(Map<String,Object> map);
	public Map<String,Object> getCustomerById(Map<String,Object> map);
	public void addCustomer(Map<String,Object> map);
	public void updateCustomer(Map<String,Object> map);
	public void deleteCustomer(List<String> list);
	public List<Map<String,Object>> listPageWorker(Map<String,Object> map);
	public Map<String,Object> getWorkerAdvancesMoney(Map<String,Object> map);
	public Map<String,Object> gdWorkSumMoney(Map<String,Object> map);
	public List<Map<String,Object>> listPageXmWorker(Map<String,Object> map);
	public Map<String,Object> getWorkerById(Map<String,Object> map);
	public void addWorker(Map<String,Object> map);
	public void updateWorker(Map<String,Object> map);
	public void deleteWorker(List<String> list);
	public Map<String,Object> getSupplierFOD(Map<String,Object> map);
	public Map<String,Object> getWorkerFOD(Map<String,Object> map);
	public Map<String,Object> getCustomerFID(Map<String,Object> map);
	public void addCustomerFID(Map<String,Object> map);
	public void updateCustomerFID(Map<String,Object> map);
	public void updateCustomerFI(Map<String,Object> map);
	public void addCustomerFIDLog(Map<String,Object> map);
	public void addSupplierFOD(Map<String,Object> map);
	public void updateSupplierFOD(Map<String,Object> map);
	public void updateSupplierFO(Map<String,Object> map);
	public void addSupplierFODLog(Map<String,Object> map);
	public List<Map<String,Object>> listPageSupplierFinanceOutDetail(Map<String,Object> map);
	public List<Map<String,Object>> listPageSupplierFinanceOutLog(Map<String,Object> map);
	public void addWorkerFOD(Map<String,Object> map);
	public void updateWorkerFOD(Map<String,Object> map);
	public void updateWorkerFO(Map<String,Object> map);
	public void addWorkerFODLog(Map<String,Object> map);
	public List<Map<String,Object>> listPageWorkerFinanceOutDetail(Map<String,Object> map);
	public List<Map<String,Object>> listPageWorkerFinanceOutLog(Map<String,Object> map);
	public List<Map<String,Object>> listPageCustomerFinanceInDetail(Map<String,Object> map);
	public List<Map<String,Object>> listPageCustomerFinanceInLog(Map<String,Object> map);
}
